package iscas.notification.controller;
import iscas.notification.common.CustomResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/notification")
public class NotificationController {
    // 通知
    @RequestMapping("/toNotify")
    public CustomResult toNotification() {
        System.out.println("通知成功");
        return new CustomResult(20000, "通知成功", null);
    }
}
